]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
brightnessManager: Change the number of BrightnessScale steps to 20
authorSebastian Wick <sebastian.wick@redhat.com>
Tue, 5 Aug 2025 08:27:05 +0000 (10:27 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 7 Aug 2025 21:57:54 +0000 (21:57 +0000)
This aligns with what g-s-d was using.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3826>

js/misc/brightnessManager.js

index b9d3a540f8a0d812c30ed2144e6883ad17b2ed35..3e2dca879df1717969d79593e5b812d8c5222119 100644 (file)
@@ -5,7 +5,7 @@ import Shell from 'gi://Shell';
 
 import * as Main from '../ui/main.js';
 
-const SCALE_VALUE_N_STEPS = 10;
+const SCALE_VALUE_N_STEPS = 20;
 const SCALE_VALUE_CHANGE_EPSILON = 0.001;
 
 const KEYBINDING_SCHEMA = 'org.gnome.shell.keybindings';